package cbs.jdtag.actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JCheckBoxMenuItem;

import cbs.jdtag.AppContext;

public class SetEncodingActionListener implements ActionListener {
	
	public void actionPerformed(ActionEvent e) {
		JCheckBoxMenuItem src = (JCheckBoxMenuItem) e.getSource();
		
		AppContext.getDM().setEncoding(src.getText());
	}
}
